package com.nbsaas.boot.queue.controller;


import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/sms")
public class SmsController {


    @RequestMapping("/send")
    public SmsResponse send() {
        SmsResponse result = new SmsResponse();
        result.setSuccess(true);
        result.setCode(0);
        result.setMsg("短信发送中.....,请稍后！");
        result.setTask_id(System.currentTimeMillis() + 1);
        result.setMessagelog_id(System.currentTimeMillis());
        return result;
    }
}
